using MediatR;
using B.S.RbacData.ErrorCode;
using SupplierCustomerManagement.Read.API.Dtos;

namespace SupplierCustomerManagement.Read.API.Applications.Commands.productpurchaseprices
{
    /// <summary>
    /// 获取商品采购价格列表查询命令
    /// </summary>
    public class GetProductPurchasePricesQuery : IRequest<ApiPaging<ProductPurchasePriceListDto>>
    {
        /// <summary>
        /// 页码（从1开始）
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 供应商ID
        /// </summary>
        public int? SupplierId { get; set; }

        /// <summary>
        /// 商品名称（模糊查询）
        /// </summary>
        public string? ProductName { get; set; }

        /// <summary>
        /// 商品规格（模糊查询）
        /// </summary>
        public string? Specification { get; set; }
        
        /// <summary>
        /// 方案名称（模糊查询）
        /// </summary>
        public string? SchemeName { get; set; }

     
    }
} 